Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider macOS to be fully supported #250

Merged
merged 1 commit into from
Nov 23, 2022

Conversation

godlygeek
Copy link
Contributor

Previously this warning would be printed each time a Tracker was constructed, which caused a lot of noise when pytest-memray was being used, since it creates one Tracker per pytest test. Now it will only be printed at most once per Python interpreter run.

Signed-off-by: Matt Wozniski mwozniski@bloomberg.net

Closes #194

@godlygeek godlygeek self-assigned this Nov 11, 2022
@pablogsal
Copy link
Member

Wouldn't this mean that even if someone is not using --memray will see the warning because the plugin loads?

@godlygeek
Copy link
Contributor Author

Wouldn't this mean that even if someone is not using --memray will see the warning because the plugin loads?

Looks like yes - though pytest-memray could switch to lazily importing memray only when --memray is supplied...

@godlygeek
Copy link
Contributor Author

After some offline discussions, we've decided to drop the warning entirely, and to consider macOS to be fully supported rather than experimental.

@godlygeek godlygeek changed the title Move the macOS experimental warning to import time Consider macOS to be fully supported Nov 23, 2022
Previously this warning would be printed each time a `Tracker` was
constructed, which caused a lot of noise when `pytest-memray` was being
used, since it creates one `Tracker` per pytest test. Since we haven't
heard any reports from users of any cases where things are actually
broken on macOS, and since our documentation lists all of the known
limitations in considerable detail, we've decided to stop considering
macOS support to be experimental, and to drop the warning.

Signed-off-by: Matt Wozniski <mwozniski@bloomberg.net>
@pablogsal pablogsal merged commit f9fbe27 into bloomberg:main Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow disabling experimental support warning via env-var
2 participants